<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 200px;
				height: 100px;
				background-color: pink;
				margin: 0 auto;
				text-align: center;
			}
			img {
				vertical-align: middle;
			}
			textarea {
				width: 300px;
				height: 100px;
				vertical-align: middle;
			}
			
		</style>
	</head>
	<body>
		<div>文字居中</div>
		<hr>
		<img src="images/2.jpg" >我好尴尬啊
		<hr >
		用户留言：<textarea>
			
		</textarea>
	</body>
</html>
